package org.tea.inventory.service;

import org.tea.inventory.domain.tea.Brand;

import java.util.List;

public interface IBrandService {
    public List<Brand> queryWithNew(int offset, int limit);

    public List<Brand> query(int offset, int limit);

    public int queryTotalCount();

    public Brand findById(Integer id);
    /**
     * 查询品牌信息列表
     *
     * @param id
     * @return 分销商信息集合
     */
    public List<Brand> querySelective(String id, String name, Integer page, Integer size, String sort, String order);

    public int countSelective(String id, String name, Integer page, Integer size, String sort, String order);

    public void updateById(Brand brand);

    public void deleteById(Integer id);

    public void add(Brand brand);
}
